package api

import (
	"google.golang.org/grpc"
	"rpc/api/goods"
	"rpc/api/order"
	"rpc/api/user"
	pd "rpc/proto/goods"
	pl "rpc/proto/order"
	pb "rpc/proto/user"
)

func RetServer(s *grpc.Server) {
	pb.RegisterUserServer(s, &user.RetServer{})
	pd.RegisterGoodsServer(s, &goods.ServerRet{})
	pl.RegisterOrderServer(s, &order.RetService{})
}
